package com.zy.service;

import java.util.List;

import com.zy.entity.Visit;

public interface VisitService {
	//查询所有的拜访记录
	public List<Visit> queryall();
	
	public Visit queryById(int id);
	
	//更新方法
	public void update(Visit visit);
	
	//通过地址查找
	public List<Visit> queryByAddress(String address);
	
	//添加拜访信息
	public void insert(Visit visit);
	
	public List<Visit> queryByCU(int cvid,int uvid);
	
	public List<Visit> queryByCUA(int cvid,int uvid,String vaddress);

}
